[Tags List]

SmartPage CGI v2.3

Give a dynamic (direct) FUN or SERIOUS information on each page.

SmartPage is specially designed to print on-screen specific datas of any Web HTML page. Actually, SmartPage offers the printing of :

SmartPage ADMIN for SMARTPAGE
The complement of SmartPage, usefull for viewing and reseting the counters of pages quickly.


THE VISITORS
SmartPage counts the number of visitors that is receiving any page of your site.
Your can display this number by inserting the chars <!--v-->into your HTML page.

You can display the date of creation of the counter by inserting the chars <!--dv-->into your HTML page.

You can also display on the same page the number of visits of other pages. Just insert the chars <!--v! followed by the partial path and the name of the file.html and followed by the chars -->.

You can use this tag to create a list of more frequently pages of your site. But be carefull : More you ask pages, more the process grows...We recommend you experiment to find a limitation
example:
<!--v!PAGE1.HTML--> hits on page 1
<!--v!PAGE2.HTML--> hits on page 2

THE LOCAL TIME
SmartPage looks at local time any time a page from your site is send on the net.
You can display that value by inserting the chars <!--t--> into your HTML page.

THE VOTE BULLETIN
SmartPage can handle a special form on any page of your site !
IMPORTANT : When you are not in Preprocess Run Mode, you are restricted to any file placed in the root directory only.

You define your question and two answers. When the browser-user submit his answer, SmartPage counts it and returns the same page with the new results. In that case, the individual counter of the page is not incremented. The browser-user can not send twice a vote per visit on the page.

If the browser-user send a second vote, SmartPage returns the document titled "no1of2vote.html". You can of course change the content of the page but you must not place any special SmartPage tags because SmartPage don't recognize his special tags on this page. Sorry !

example :
<FORM>
<INPUT type="radio" name ="R" value =1>réponse1
<INPUT type="radio" name ="R" value =2>réponse2
<INPUT type="submit">
</FORM>

To print the results on the page, SmartPage has the following tags :
<!--1-->: first choice reply sum
<!--%1-->: first choice percent of reply
<!--2-->: second choice reply sum
<!--%2-->: second choice percent of reply

You can insert a comment tag that will be printed on the log before the vote result. This is how you must type this tag :

<!--r! here your comment !-->
where <!--r! are the tag starting characters and !--> are the tag ending characters. The comment is limited to 31 chars.

THE PAGE CREATION DATE
You can display the date/hour/minute of creation of the page by inserting the chars <!--dc--> into your HTML page.

THE PAGE LAST READING DATE
You can display the date/hour/minute of last reading of the page by inserting the chars <!--lv--> into your HTML page.

WEBSTAR PREPROCESS : TRANSPARENT CALLS TO SMARTPAGE
SmartPage can be called automatically by WebSTAR, using his Preprocess mode.

INVISIBLE TEXT
You can insert text in your page that won't appear until a SmartPage call.
for example :

<!--i!   that text is not directly screenable -->

will print on screen :
 that text is not directly screenable
with a SmartPage call.
Just begin your text with:
<!--i! 
and ending with:
-->

Useful for text that have sense with the SmartPage tags : When SmartPage isn't running and some tags are in the sending pages, it's really better if some text you added with these tags don't appear in that case !

Important :
There are no spaces in the SmartPage tags.
You can insert only ONE tag of the same type per page, except for the invisible text tag.